<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %>
<%@ page import="view.DataList,dao.Score,dao.Score.Data" %>
<% request.setCharacterEncoding("utf-8"); %>
<% String root = request.getContextPath() + "/"; %>
<jsp:useBean id="data" type="dao.Score.Data" scope="request" />
<form class="form-inline col-md-10" role="form" action="" method="post">
    <fieldset>
        <legend>修改成绩</legend>
        <input type="hidden" name="stud" value="<%= data.getStudent_id() %>" />
        <div class="form-group">
            <input type="text" name="subject" class="form-control" id="subject" value="<%= data.getSubject() %>"/>
        </div>
        <div class="form-group">
            <input type="text" name="score" class="form-control" id="score" value="<%= data.getScore() %>"/>
        </div>
        <button type="submit" class="btn btn-primary">确定</button>
        <a class="btn btn-warning" href="<%= root %>/teacher/manager/score?id=<%= data.getStudent_id() %>">返回</a>
    </fieldset>
</form>
